package com.example.demo.controller;

import org.springframework.web.bind.annotation.*;

import java.util.HashMap;
import java.util.Map;

/**
 * @author 黄国海
 * @version 1.0
 * @description: TODO
 * @date 2021/6/9 19:34
 */
@RestController
public class test {
    @GetMapping("/")
    @ResponseBody
    public Map<String,Object> get(){
        Map<String,Object> map=new HashMap<>();
        map.put("id","1");
        map.put("name","黄国海");
        map.put("student_id","201827020107");
        map.put("use_language","Python_Django");
        return map;
    }
}
